const express = require('express')

const router = express.Router();
//登录路由
const admin = require('./admin')
router.use('/admin',admin)

//获取左侧图书目录
const getList = require('./getList')
router.use('/bookList',getList)

//计算机获取数据
const getbook = require('../Router/jisuanji/getbook')
router.use('/getbook', getbook)

//计算机添加数据
const addBook = require('./jisuanji/addBook')
router.use('/addBK', addBook)

//计算机查询要修改库存的数据
const putnum = require('./jisuanji/putnum')
router.use('/get', putnum)
//计算机修改库存
const editnum = require('./jisuanji/editnum')
router.use('/put', editnum)
//计算机删除图书
const deletebook = require('./jisuanji/deletebook')
router.use('/delete', deletebook)

module.exports = router